package com.qiku.service;

import com.qiku.domain.PromotionSpace;

import java.util.List;

public interface PromotionSpaceService {
    /**
     * 获取广告位列表数据
     * @return
     */
    public List<PromotionSpace> findAllPromotionSpace();
    /**
     * 添加广告位
     * @param promotionSpace
     * @return
     */
    public int savePromotionSpace(PromotionSpace promotionSpace);
    /**
     * 修改广告位
     * @param promotionSpace
     * @return
     */
    public int updatePromotionSpace(PromotionSpace promotionSpace);
    /**
     * 回显广告位名称
     * @param id
     * @return
     */
    public PromotionSpace findPromotionSpaceById(Integer id);
}
